#include<stdio.h>
#include<stdlib.h>
void swap(int *a, int *b);
int main()
{
	int a, b;
	printf("input a,b:");
	scanf("%d,%d",&a,&b);
	swap(&a, &b);
	printf("int main() :a = %d, b = %d\n",a,b);
	system("pause");
	return 0;
}

void swap(int a, int b)
{
	int n;
	n = *a;
	*a = *b;
	*b = n;
	printf("In swap() a=%d,b=%d\n", a, b);
}